<%@ page language="java" contentType="text/html; charset=GBK" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <jsp:include page="../basePath.jsp"></jsp:include>
    <title>报送数据微调</title>
    <style>
    .selectTD span{background:#eee}
    </style>
    <script language="javascript" src="page/dataadjust/of_cfm.js" charset="utf-8"></script>
  </head>
  
  <body class="scrolling">
	<div class="div">
	  <table cellspacing="0" cellpadding="0" width="100%">
		<tr><td>
		  <div class="tab-nav">
			<ul>
				<li class="current">
					<a href="javascript:void(0)"><span>开放式基金分红确认</span></a>
				</li>																				
				<li>
					<a href="m/data_adjust/inita13"><span>报送数据微调</span></a>
				</li>
				<li>
					<a href="m/data_adjust/inita13log"><span>报送数据微调日志</span></a>
				</li>
			</ul>
		  </div>
		</td></tr>
	  </table>
	
	  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="2" >
        <tr>
          <td colspan="3">
			<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="point_bg">
	     	  <tr>
	     	   	<td align="left">数据日期：${currentBusiDate }<input type="hidden" id="busiDate" value="${currentBusiDate }"></td>
	     	  	<td height="30" align="right">
	     	  	  <input type="button" value="重载数据" class="button" id="btnLoad">
	     	  	  <input type="button" value="确认生成" class="button" id="btnCfm">&nbsp;&nbsp;
	       		  <!-- input type="button" value="交 收" class="button" id="btnSet" disabled>
                  <input type="button" value="生 成" class="button" id="btnGen" disabled> -->
                  <input type="button" value="增 加" class="button" id="btnAdd" >
                  <input type="button" value="保 存" class="button" id="btnSave" disabled >
                  <input type="button" value="删 除" class="button" id="btnDelete" disabled>
                  <input type="button" value="取 消" class="button" id="btnCancle" disabled >
	          	</td>
	          </tr>
	     	</table>
		  </td>
        </tr>
        <tr>
     	  <td align="center" valign="top" style="padding:1px 0 0">
			<table width="100%" class="form-table" border="0" align="center" cellpadding="0" cellspacing="0" >
			  <colgroup>
				<col style="background:rgb(250,250,250)" style="text-align:right" width="13%">
				<col style="background:rgb(250,250,250)" width="20%">
				<col style="background:rgb(250,250,250)" style="text-align:right" width="16%">
				<col style="background:rgb(250,250,250)" width="18%">
				<col style="background:rgb(250,250,250)" style="text-align:right" width="15%">
				<col style="background:rgb(250,250,250)" width="18%">
			  </colgroup>
			  <tr>
			  	<td>交易日期：</td>				
			   	<td><input type="text" id="orderDate" value="${currentBusiDate }" default-value="${currentBusiDate }" readonly class="commDate"></td>
			 	<td>确认日期：</td>				
			   	<td><input type="text" id="confirmDate" value="${currentBusiDate }" default-value="${currentBusiDate }" readonly class="commDate"></td>
			 	<td>交收日期：</td>				
			   	<td><input type="text" id="settleDate" value="${currentBusiDate }" default-value="${currentBusiDate }" readonly class="commDate"></td>
			  </tr>
			  <tr>
			  	<td>应收应付类型：</td>				
			   	<td>
			   	  <select id="arapType" name="" class="select-one select-width" disabled>
						 <option value="00" label="">当日柜台入账</option>
						 <option value="02" label="" selected>02:已收对方机构未付客户</option>
						 <option value="03" label="">03:已付客户未收对方机构</option>
						 <option value="99" label="">法人柜台都已交收入账</option>
				  </select>
			   	  <input type="hidden" id="arapType"><span id="arapType_text"></span> 
			   	</td>
			 	<td>TA代码：</td>				
			   	<td><input type="text" id="oppPar" value="" readonly maxlength="3" class="text"></td>
			  	<td>市场代码：</td>				
			   	<td><select id="mktCode" class="select-one select-width" default-value="99" disabled>
			   		<option value=""></option>
					<c:forEach var="conf" items="${mktCodeSipfConfs}" >
								  	<option value="${conf.code}">${conf.code}:${conf.name}</option>
					</c:forEach>			   		
				</select></td>
			  </tr>
			  <tr>
				<td>业务类型：</td>				
			   	<td><select id="arapBusiType" class="select-one select-width" disabled>
			   		<option value=""></option>
			   		<option value="008">008:开放式基金分红</option>
<!-- 					<c:forEach var="conf" items="${arapBusiTypeConfs}" >
								  	<option value="${conf.code}">${conf.code}:${conf.name}</option>
					</c:forEach>	 -->		   		
				</select></td>
				<td>币种：</td>				
			   	<td><select id="curType" name="" default-value="CNY" class="select-one select-width" disabled>
			   		<c:forEach var="conf" items="${curTypeSipfConfs}" >
						 <option value="${conf.code}">${conf.code}:${conf.name}</option>
					</c:forEach>
				</select></td>
				<td>金额：</td>				
			   	<td><input type="text" id="arapAmt" value="" readonly maxlength="18" class="text"></td>
			  </tr>
			  <tr>
			  	<td>应收应付金额：</td>				
			   	<td><b>${statAmounts.accPayAmtText }</b></td>
			 	<td>法人实际交收额：</td>				
			   	<td><b>${statAmounts.actSetAmtText }</b></td>
			 	<td>法人应交收额：</td>				
			   	<td><b>${statAmounts.shoSetAmtText }</b></td>
			  </tr>
			</table>
		  </td>
		</tr>
	  </table>
	  <input type="hidden" id="hidId">
	  <div id="ListDiv" align="center" style="padding:0 2px" >
	   <div style="width:100%;overflow-x:auto;scrollbar-face-color: #dcdcdc; scrollbar-highlight-color: #ffffff; scrollbar-shadow-color: #ffffff; scrollbar-3dlight-color: #ffffff; scrollbar-arrow-color: #737373; scrollbar-track-color: #ffffff; scrollbar-darkshadow-color: #ffffff;">
	  	<table id="01060202resultList_0" cellSpacing="0" cellPadding="0" width="100%" >
    	  <tr><td>
        	<table id="01060202resultList_0_read" cellSpacing="0" cellPadding="0" width="100%" height="100%" border="0" bordercolor="#AEAEAE" rules="rows" style="border-collapse:collapse;font-size:9pt;">
          	  <thead>
            	<tr class="queryList_titlebg" height="27">
            	  <th align="center" width="8%" nowrap class="table_td_font">交易日期</th>
            	  <th align="center" width="8%" nowrap class="table_td_font">确认日期</th>
            	  <th align="center" width="8%" nowrap class="table_td_font">交收日期</th>
            	  <th align="center" width="16%" nowrap class="table_td_font">应收应付类型</th>
            	  <th align="center" width="4%" nowrap class="table_td_font">TA代码</th>
            	    <th align="center" width="4%" nowrap class="table_td_font">基金代码</th>
            	  <th align="center" width="12%" nowrap class="table_td_font">市场代码</th>
            	  <th align="center" width="14%" nowrap class="table_td_font">业务类型</th>
            	  <th align="center" width="6%" nowrap class="table_td_font">币种</th>
            	  <th align="center" width="12%" nowrap class="table_td_font">金额</th>
            	  <th align="center" width="8%" nowrap class="table_td_font">操作</th>
            	</tr>
   			  </thead>
  			  <tbody id="data_list">
          	  </tbody>
        	</table>
   		  </td></tr>
   		  <tr><td class="query_bottomimg"></td></tr>
    	  <tr><td height="10px"></td></tr>
  	  	</table>
  	   </div>
	  </div>
	  <div class="pageNext"></div>
	</div>
  </body>
</html>
